package com.yy.cloud.openfeign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * 购物车服务Feign接口
 *
 * @date 2024/5/7
 */
@FeignClient(value = "shopcart-service", path = "/shop-cart")
public interface ShopcartServiceFeign {

    @GetMapping("/{cartId}")
    String shopCartDetail(@PathVariable("cartId") int cartId);


}
